package com.jbinfo.qingcaowan.studyManager.service;

import java.util.List;

import com.jbinfo.common.utils.DataTables;
import com.jbinfo.qingcaowan.studyManager.dto.BookChapterModel;
import com.jbinfo.qingcaowan.studyManager.entity.BookChapter;

/**
 * 
* @ClassName: ChapterManagerService 
* @Description: TODO 章节
* @author ZhangLei
* @date 2016年5月24日 上午10:34:52
 */
public interface BookChapterManagerService {
	/**查询**/
	public DataTables<BookChapter> getChapterList(BookChapterModel bookChapterModel);
    
	/**添加**/
	public void save(BookChapter bookChapter);
    
	/**章节详情**/
	public BookChapter getBookChapterInfo(String chapterId);
	
    /**保存编辑**/
	public int editBookChapter(BookChapter bookChapter);
    
	/**删除**/
	public int delBookChapter(String chapterId);
    
	/**根据bookid获取章节**/
	public List<BookChapter> queryChapterList(BookChapter bookChapter);
     
	/**根据章节编号或者章节信息**/
	public List<BookChapter> getChapterByCode(BookChapter bookChapter);
}
